package com.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.entity.Goods;
import com.common.domain.entity.Leave;
import com.common.domain.vo.LeaveInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LeaveMapper extends BaseMapper<Leave> {

    List<LeaveInfoVo> allLeaveList(@Param("userId") Long userId,
                                   @Param("startTime") String startTime,
                                   @Param("endTime") String endTime,
                                   @Param("type") String type);
}
